/*
 * $Id: AbstractActionInternalFrameListener.java 23 2009-03-31 23:37:36Z
 * aaron.day $
 */
package org.crazydays.gameplan.swing;


import java.awt.event.ActionEvent;

import javax.swing.Icon;
import javax.swing.event.InternalFrameEvent;
import javax.swing.event.InternalFrameListener;

import org.crazydays.gameplan.Controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * AbstractActionInternalFrameListener
 */
public abstract class AbstractActionInternalFrameListener
    extends AbstractActionWrapper
    implements InternalFrameListener
{
    /** serial version uid */
    public final static long serialVersionUID =
        "$Id: AbstractActionInternalFrameListener.java 40 2009-12-24 14:58:58Z aaron.day $"
            .hashCode();

    /** logger */
    protected static Logger LOGGER =
        LoggerFactory.getLogger(AbstractActionInternalFrameListener.class);

    /**
     * AbstractActionInternalFrameListener constructor.
     */
    public AbstractActionInternalFrameListener()
    {
        super();
    }

    /**
     * AbstractActionInternalFrameListener constructor.
     * 
     * @param text Text
     */
    public AbstractActionInternalFrameListener(String text)
    {
        super(text);
    }

    /**
     * AbstractActionInternalFrameListener constructor.
     * 
     * @param text Text
     * @param controller Controller
     */
    public AbstractActionInternalFrameListener(String text,
        Controller controller)
    {
        super(text, controller);
    }

    /**
     * AbstractActionInternalFrameListener constructor.
     * 
     * @param text Text
     * @param icon Icon
     */
    public AbstractActionInternalFrameListener(String text, Icon icon)
    {
        super(text, icon);
    }

    /**
     * @param e Event
     * @see InternalFrameListener#internalFrameActivated(InternalFrameEvent)
     */
    public void internalFrameActivated(InternalFrameEvent e)
    {
        LOGGER.debug(e.toString());
    }

    /**
     * @param e Event
     * @see InternalFrameListener#internalFrameClosed(InternalFrameEvent)
     */
    public void internalFrameClosed(InternalFrameEvent e)
    {
        LOGGER.debug(e.toString());
    }

    /**
     * @param e Event
     * @see InternalFrameListener#internalFrameClosing(InternalFrameEvent)
     */
    public void internalFrameClosing(InternalFrameEvent e)
    {
        LOGGER.debug(e.toString());
    }

    /**
     * @param e Event
     * @see InternalFrameListener#internalFrameDeactivated(InternalFrameEvent)
     */
    public void internalFrameDeactivated(InternalFrameEvent e)
    {
        LOGGER.debug(e.toString());
    }

    /**
     * @param e Event
     * @see InternalFrameListener#internalFrameDeiconified(InternalFrameEvent)
     */
    public void internalFrameDeiconified(InternalFrameEvent e)
    {
        LOGGER.debug(e.toString());
    }

    /**
     * @param e Event
     * @see InternalFrameListener#internalFrameIconified(InternalFrameEvent)
     */
    public void internalFrameIconified(InternalFrameEvent e)
    {
        LOGGER.debug(e.toString());
    }

    /**
     * @param e Event
     * @see InternalFrameListener#internalFrameOpened(InternalFrameEvent)
     */
    public void internalFrameOpened(InternalFrameEvent e)
    {
        LOGGER.debug(e.toString());
    }

    /**
     * @param e Event
     * @see java.awt.event.ActionListener#actionPerformed(ActionEvent)
     */
    public void actionPerformed(ActionEvent e)
    {
        LOGGER.debug(e.toString());
    }
}
